local clsCallStaticMethod = Class("lua/util/clsInstance.lua"):Inherit()

function clsCallStaticMethod:New(...)
	return self
end

function clsCallStaticMethod:callStaticMethod(className, methodName, args, sig)
    if CCApplication:sharedApplication():getTargetPlatform() == kTargetAndroid then
		return Class("lua/util/clsCallJavaStaticMethod.lua"):getInstance():callStaticMethod(className,methodName,args,sig)
	elseif CCApplication:sharedApplication():getTargetPlatform() == kTargetIphone or 
		   CCApplication:sharedApplication():getTargetPlatform() == kTargetIpad then
		return Class("lua/util/clsCallObjcStaticMethod.lua"):getInstance():callStaticMethod(className,methodName,args,sig)
	end
end

function getClass()
	return clsCallStaticMethod
end
